<template>
  <div id="app">
    <h1>头条</h1>
    <div class="box iconfont icon-xihuan"></div>
    <br />
    <van-button type="default">默认按钮</van-button>
    <br />
    <van-button type="primary">主要按钮</van-button>
    <br />
    <van-button type="info">信息按钮</van-button>
    <br />
    <van-button type="warning">警告按钮</van-button>
    <br />
    <van-button type="danger">危险按钮</van-button>
    <router-view />
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.box {
  width: 20px;
  height: 20px;
  color: white;
  font-size: 100px;

  &:hover {
    color: deeppink;
  }
}

button {
  position: absolute;
  left: 100px;
}
</style>
